<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="pragma" content="no-cache"/>   
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate"/>   
<meta http-equiv="expires" content="0"/>  
<title>公告管理</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<link href="css/select.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery.idTabs.min.js"></script>
<script type="text/javascript" src="js/select-ui.min.js"></script>
<script type="text/javascript" src="editor/kindeditor.js"></script>
<script charset="utf-8" src="editor/lang/zh-CN.js"></script>
<script type="text/javascript" src="laydate/laydate.js"></script>
<script type="text/javascript" src="js/application/notice.js?20180723"></script>
<script type="text/javascript" src="js/jquery.form.js"></script>
<style>
   .ke-icon-addimg {
           background-image: url(../skins/default/default.gif);
           background-position: 0px -496px;
           width: 16px;
           height: 16px;
   }
</style>
<script type="text/javascript">
KindEditor.plugin('addimg', function(K) {
    var editor = this, name = 'addimg';
    // 点击图标时执行
    editor.clickToolbar(name, function() {
    	$("#uploadFile2").click()
    });
});
   var edit= KindEditor.ready(function(K) {
	   K.lang({
	        hello : '上传图片'
	});
	  
            window.editor = K.create('#content7', {
                items : ["source","|","undo","redo","|","preview","print","template","code","cut","copy","paste","plainpaste","wordpaste","|","justifyleft","justifycenter","justifyright","justifyfull","insertorderedlist","insertunorderedlist","indent","outdent","subscript","superscript","clearhtml","quickformat","selectall","|","fullscreen","/","formatblock","fontname","fontsize","|","forecolor","hilitecolor","bold","italic","underline","strikethrough","lineheight","removeformat","|","flash","media","insertfile","table","hr","emoticons","baidumap","pagebreak","anchor","link","unlink","|","addimg"],
                pasteType : 2,  
                filterMode: false,
            });
            
            
    });
 

</script>

</head>
<body>
	<div class="place" name="dataList">
    	<span>位置：</span>
    	<ul class="placeul">
		    <li><a href="#">线上运营管理</a></li>
		    <li><a href="/euc/page/notice.html">公告管理</a></li>
		    
    	</ul>
    </div>
    
    <div class="formbody" name="dataList">    
	    <div class="tools">    
	    	<ul class="toolbar">
		        <li class="click" id="bannerAdd"><span><img src="images/t01.png" /></span>新建公告</li>
	        </ul>
	        <ul class="seachform" style="display:none;">  
		    	<li><label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;查询</label><input  name="parameter" type="text" class="scinput"  placeholder="Banner标题"/></li>    
		    	<li><label>&nbsp;</label><input name="" onclick="search(1);" type="button" class="scbtn" value="查询"/></li>    
		    </ul>
	    </div>
	    <div id="usual1" class="usual"> 	  	
		  	<div id="tab2" class="tabson">
				<table class="tablelist">
			    	<thead>
				    	<tr>
					        <th><input id="headerCheckBox" type="checkbox" value="" /></th>
					        <th>公告标题</th>
					        <th>目标用户区域<i class="sort"><img src="images/px.gif" /></i></th>
					        <th>创建人</th>
					        <th>创建时间</th>
					        <th>公告状态</th>
					        <th>操作</th>
				        </tr>
			        </thead>
			        <tbody id="dataTable">
			        </tbody>
			    </table>	    
			    <div class="pagin">
			    	<div class="message">共<i id="totalRow" class="blue">0</i>条记录，每页<i id="pageSize" class="blue">0&nbsp;</i>条记录，当前显示第&nbsp;<i id="currentPage" class="blue">1&nbsp;</i>页</div>
			        <ul class="paginList" id="dataPageTool">
				        <li class="paginItem"><a href="javascript:;"><span class="pagepre"></span></a></li>
				        <li class="paginItem"><a href="javascript:;">1</a></li>
				        <li class="paginItem"><a href="javascript:;"><span class="pagenxt"></span></a></li>
			        </ul>
			    </div>
	    	</div> 
		</div> 
 
		<script type="text/javascript"> 
	      	$("#usual1 ul").idTabs(); 
	    </script>
	    
	    <script type="text/javascript">
			$('.tablelist tbody tr:odd').addClass('odd');
		</script>    
    </div>
	
	<div class="place" name="dataForm" style="display:none;">  
		<span>位置：</span>
		<ul class="placeul">
			<li><a href="#">线上运营管理</a></li>
			<li><a href="/euc/page/notice.html">公告管理</a></li>
			<li><a href="#" id="operator">添加</a></li>
		</ul>
	</div>
    <div class="formbody" name="dataForm" style="display:none;"> 
	    <div class="formtitle"><span>目标用户</span></div>
	    <ul class="forminfo">
		    <li></li>
		    <li>
		    	<label style="font-size:16px;float:left;width:140px;">目标用户区域<b>*</b></label>
				 <div class="vocation">
				    <select class="select2"  name="userAreaId" id="formSpace" formParameter="notice" >
				    	<option value="0" >请选择</option>
					</select>
			    </div>
	        </li>
	        <li></li>
	        <li></li>
	    </ul>
	    
	    <div class="formtitle"><span>公告基本信息</span></div>
	    <ul class="forminfo">
		    <li>
		    	<label style="font-size:16px;float:left;width:140px;">标题<b>*</b></label>
		    	<input style="float:left;width:400px;" name="title" required='1' message='请输入公告标题' formParameter="notice" type="text" class="dfinput" placeholder="请输入标题"/>
		    </li>

		    
		    <li></li>
			<li>
				<label style="font-size:16px;float:left;width:140px;">封面<b>*</b></label>
			    <span><img style="width:400px;height:240px;"  name="activityImage" id="noticeImage" src="images/img07.png" onerror="this.src='images/img07.png'"/></span>
			    <input  name="url" formParameter="notice"   type="hidden" value=""/>
		    </li>
		    <li>
				<label style="font-size:16px;float:left;width:140px;">&nbsp;</b></label>
				<form style="float:left;" id="noticeImageForm" action="/euc/system/upload" method="post" enctype="multipart/form-data">
			    	<input id="uploadFile"   name="file" type="file" style="width:400px;" value="添加图片"/>
			    	<input  name="folderName" type="hidden" value="notice"/>
			    	<input  name="fileType" type="hidden" value="图片"/>
			    </form>
		    </li>    
		    
		    <li></li>	
		    <li id="bnnerDetail">
		    	<label style="font-size:16px;float:left;width:140px;">内容<b>*</b></label>
			    <textarea id="content7" name="content" required='1' message='请输入公告内容'  formParameter="notice"  style="width:700px;height:250px;visibility:hidden;"></textarea>			    
		    </li>
		    
		    <li></li>
	        <li>
	        	<label style="font-size:16px;float:left;width:140px;">有效日期<b>*</b></label>		    
			    <div class="usercity">			    
				    <div class="cityleft">
				    	<input style="width:170px;" onclick="laydate({elem:'#beginTimeid',istime: true, format: 'YYYY-MM-DD hh:mm:ss'})" type="text" name="beginTime" required='1' message='请设置开始时间'   class="tlinput"  id="beginTimeid" formParameter="notice" />
				    </div>	
				    <label style="width:50px;">&nbsp;&nbsp;&nbsp;至 &nbsp;&nbsp;&nbsp;&nbsp;</label>		    
				    <div class="cityright">
				    	<input style="width:170px;" onclick="laydate({elem:'#endTimeId',istime: true, format: 'YYYY-MM-DD hh:mm:ss'})" type="text" name="endTime" required='1' message='请设置接结束时间 '   class="tlinput" id="endTimeId" formParameter="notice" />				    
				    </div>
			    </div>
		    </li>
		    
		    <li style="display:none"><form style="float:left;" id="noticeImageForm2" action="/euc/system/upload" method="post" enctype="multipart/form-data">
			    	<input id="uploadFile2"   name="file" type="file" style="width:400px;" value="添加图片"/>
			    	<input  name="folderName" type="hidden" value="notice"/>
			    	<input  name="fileType" type="hidden" value="图片"/>
			    </form></li>
		    <li></li>
		    <li>
		    	<label style="font-size:16px;float:left;width:240px;">&nbsp;</label>
		    	<input name="btnSave"  id="btnSave"  type="button" class="btn" value="确定"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		    	<input name="btnCancle"  id="btnCancle"  type="button" class="btn" value="取消"/>
		    </li>
	    </ul>
	    
    </div>
</body>
</html>
